﻿<%@ Page Title="被医疗机构选中的产品" Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="DrugByChosen.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.RelationQuery.DrugBySelection" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="DistributionToCompany.aspx">可配送的采购产品</a></li>
            <li class="active"><a href="DrugByChosen.aspx">被医疗机构选中的产品</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUserId" runat="server" Text="产品名称："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblIsUsing" runat="server" Text="规格型号："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblMaterial" runat="server" Text="材质："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="Label2" runat="server" Text="最小计量单位："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblIsOnline" runat="server" Text="生产企业："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName_Sc" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">拼音码：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtpinyincode" runat="server"></asp:TextBox>
                            </td>

                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label Text="项目：" ID="lblProjectid" runat="server" />
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlProjectid" runat="server">
                                    <asp:ListItem Value="0002">2014年内蒙古自治区网上高值医用耗材阳光采购项目</asp:ListItem>
                                    <asp:ListItem Value="0001">2012年内蒙古自治区网上医用耗材采购项目</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <asp:Literal ID="ltlAdvance" runat="server" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                        <tr>

                            <td align="right">
                                <asp:Label ID="Label6" runat="server" Text="投标企业："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName_TB" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblLastLogin" runat="server" Text="项目："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="cbxProjectName" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblHospitalName" runat="server" Text="医疗机构名称："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="Label1" runat="server" Text="地区："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlArea" runat="server" Width="98px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <%--                      <tr>
                            <td align="right">
                                <asp:Label ID="Label4" runat="server" Text="采购限价："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProcurePrice" runat="server"></asp:TextBox>
                            </td>
                        </tr>--%>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" CssClass="searchbtn" />
                    <hz:HzLinkButton ID="lbnSwitch" runat="server" CommandArgument="simple" OnClick="lbnSwitch_Click"
                        Text="高级查询">
                    </hz:HzLinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProcureCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="GoodsID" EmptyDataText="暂无符合要求的数据！" OnRowDataBound="gvwProcureCatalog_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
            <asp:BoundField DataField="Material" HeaderText="产品材质" NullDisplayText="无" />
            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
            <asp:BoundField DataField="PackUnit" HeaderText="包装单位" />
            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <%--<asp:BoundField DataField="ProcurePrice" HeaderText="采购限价" DataFormatString="{0:N4}" />--%>
            <asp:TemplateField HeaderText="采购限价">
                <ItemTemplate>
                    <asp:Label ID="lblProcurePrice" runat="server" Text='<%#HZ.DrugTrade.Web.Function.FormPrice(Eval("ProjectID"), Eval("ProcurePrice")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="HospitalName" HeaderText="采购医疗机构" />
            <%--<asp:TemplateField HeaderText="属性">
                <ItemTemplate>
                    <%# HZ.DrugTrade.Web.Function.FormatDrugSource( Eval("SortSource")) %>
                </ItemTemplate>
                <HeaderStyle Width="60px" />
            </asp:TemplateField>
            
             <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <hz:HzLinkButton ID="HzButton2" runat="server" OnClientClick='<%# GetURLScript("RelationHospital.aspx?procureCatalogId="+Eval("procureCatalogId"))%>'
                        CausesValidation="false" Text='查看来往医疗机构' />
                </ItemTemplate>
                <HeaderStyle Width="100px" />
            </asp:TemplateField>--%>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span> 被医疗机构设为默认配送的产品列表</span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnExport" runat="server" CssClass="btn" Text="导出Excel" ToolTip="将数据导出为Excel文件"
            OnClick="btnExport_Click" />
    </div>
</asp:Content>
